package com.lantosec.hmrp.modules.monitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.monitor.entity.ProcessEntity;
import com.lantosec.hmrp.modules.sysdata.entity.SysDataProcess;

import java.util.List;

public interface IMonitorProcessService extends IService<ProcessEntity> {

    List<ProcessEntity> getProcessTypeTotal(String month, String year);

    List<ProcessEntity> getProcessStatusTotal(String month, String year);

    Page<SysDataProcess> queryProcessInstanceList(PageVO<SysDataProcess> page, String month, String year,
                                                  String processTypeId, String processStatus);

    ProcessEntity getProcessTotal(String month, String year);
}
